aux_source_directory(. SOURCESCODE)
include_directories(.)
add_library(kysdk-proc SHARED ${SOURCESCODE})
set_target_properties(kysdk-proc PROPERTIES VERSION 2.0.0 SOVERSION 1)
#add_executable(kyrtinfo-test test/kyrtinfo-test.c)
#add_executable(kyprocess-test test/kyprocess-test.c)
target_link_libraries(kysdk-proc kysdk-log)
#target_link_libraries(kyrtinfo-test kysdk-proc) 
#target_link_libraries(kyprocess-test kysdk-proc)

install(TARGETS kysdk-proc
        DESTINATION ${CMAKE_INSTALL_RPATH})

install(FILES libkyrtinfo.h
        DESTINATION include/kysdk/kysdk-system)
        
install(FILES libkyprocess.h
        DESTINATION include/kysdk/kysdk-system)
